(
	set -euo pipefail

	readonly lib=$(dirname $(realpath ${BASH_SOURCE[0]}))

	if ! grep -q bashrc.d.sh $HOME/.bashrc;
	then
		printf '\nsource $HOME/.config/bashrc.d.sh\n' >> $HOME/.bashrc
	fi;

	(${lib}/stow.sh bash)
)
